//
//  BHImagePicker.h
//  BHFoundation
//
//  Created by peironggao on 2018/4/27.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,BHImagePickerState)
{
    BHImagePickerUnauthed ,          // 没授权
    BHImagePickerSuccess,           // 成功
    BHImagePickerUnavaiable,        // 相册不可用
    BHImagePickerCancel,            // 用户取消
};

@interface BHImagePicker : NSObject

+ (instancetype)shareInstance;

- (void)pickImageSourceType:(UIImagePickerControllerSourceType)type
                  allowEdit:(BOOL)allowEdit
                   complete:(void(^)(BHImagePickerState status, UIImage *image))complete;

@end
